const api: ApiConfig = {
  //工资单-S
  payrollList: {
    method: 'GET',
    url: '/oa/wages/wages/getMyWages'
  },
  payrollItem: {
    method: 'GET',
    url: '/oa/wages/wageDetails/info/:id'
  },
  payrollSendList: {
    method: 'GET',
    url: '/oa/wages/wages/list'
  },
  payrollSendNotice: {
    method: 'POST',
    url: '/oa/wages/wages/sendWagesNotice'
  },
  payrollSendDelete: {
    method: 'POST',
    url: '/oa/wages/wages/delete'
  },
  payrollSendDownLoad: {
    method: 'GET',
    url: '/oa/wages/wages/downloadTemplate',
    responseType: 'blob'
  },
  payrollSendImport: {
    method: 'POST',
    url: '/oa/wages/wages/importWages',
    headers: {
      'content-type': 'multipart/form-data'
    }
  },
  ImportErrorInfo: {
    method: 'POST',
    url: '/oa/wages/wages/exportErrorData',
    headers: {
      'content-type': 'multipart/form-data'
    },
    responseType: 'blob'
  },
  //工资单-E

  //个人工作安排-S
  personalWorkArrangement: {
    method: 'GET',
    url: '/oa/workPlan/workPlan/personPage'
  },
  //个人工作安排-E
  // 通讯录
  getUsersByInsIdList: {
    method: 'GET',
    url: '/sys/sysInstitution/getUsersByInsId'
  },
  getInsList: {
    method: 'GET',
    url: '/sys/sysInstitution/getInsList'
  },
  //功能名称
  workFlowFunctionList: {
    method: 'GET',
    url: '/process/getWorkFlowFunctionList'
  }
}
export default api
